<td  align="center"><?php echo $rs->OrdersnID; ?></td>
<td  align="center"><?php echo OrdersnModel::getTypeHtml($rs->Type); ?></td>
<td  align="center"><?php echo $rs->OrderNo; ?></td>
<td  align="center"><?php echo date('Y-m-d', $rs->AddTime);?></td>
<td  align="center"><?php echo $rs->UserName; ?></td>

<td align="center">
<?php  
     $op = array();
     $op[] = '<a class="" href="'.AdminBase::U("view",array('id'=>$rs->OrdersnID)).'" >查看</a>';
    if(RBAC::authenticate('delete')){
      $op[] = '<a class="J_ajax_del" href="'.AdminBase::U("delete",array('id'=>$rs->OrdersnID)).'" >删除</a>';
    }    
    $op = implode('|', $op);
    echo $op;
?>   
</td>
